virtualisation.fileSystems.<name>.encrypted.label

Label of the unlocked encrypted device. Set fileSystems.<name?>.device to /dev/mapper/<label> to mount the unlocked device.

Type
null or string
Default
null
Example
"rootfs"
Declared
<nixpkgs/nixos/modules/tasks/encrypted-devices.nix>